<!--{eval $_TPL['titles'] = array('影视基地');}-->
<!--{template header}-->
<style type="text/css">
.album_bg{
	background:url();
	padding-bottom:5px;
}
.album_bg a{
	height:135px;
	max-height:135px;
	width:100px;
}
.album_bg img{
	border:1px solid #CCCCCC;
	padding:3px;
	display:block;
	height:130px;
	max-height:130px;
	margin-bottom:8px;
	width:100px;
}
</style>
<div class="searchbar floatright">
	<form method="get" action="space.php">
		<input name="keywords" value="" size="15" class="t_input" type="text">
		<input name="searchsubmit" value="搜索影视" class="submit" type="submit">
		<input type="hidden" name="do" value="movie" />
		<input type="hidden" name="view" value="all" />
	</form>
</div>
<h2 class="title"><img src="image/app/supev.gif">影视 </h2> 
<div class="tabs_header">
	<ul class="tabs">
		<li$actives[all]><a href="space.php?do=$do&view=all"><span>首页</span></a></li>
		<!--{loop $typelist $value}-->
		<li$actives[$value[typeid]]><a href="space.php?do=$do&view=$value[typeid]"><span name='list'>$value[typename]</span></a></li>
		<!--{/loop}-->
		<li$actives[me]><a href="space.php?do=$do&view=me"><span>我的影视</span></a></li>
	</ul>
</div>

<div id="content" style="width:640px;">

	<!--{if $keywords}-->
	<div class="h_status">以下是搜索影视 <span style="color:red;font-weight:bold;">$keywords</span> 结果列表</div>
	<!--{/if}-->
<!--{if $_GET[view]=='all'}-->
	<!--{if $_GET[regionid]||$_GET[keywords]||$_GET[uid]}-->
		<!--{if $count}-->
		<table class="album_list" cellspacing="0" cellpadding="0" width="100%">
		<tr>
			<!--{loop $list $key $value}-->
			<td style="padding-bottom:10px;text-align:center;">
				<div class="album_bg"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]"><img src="$value[images]" alt="$value[mname]" width="100px" height="135px" /></a></div>
				<p style="height:35px;overflow:hidden;line-height:35px;"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]">$value[mname]</a></p>
				<p class="gray"><!--{date('Y-m-d H:i', $value[dateline], 1)}--></p>
			</td>
			<!--{if $key%4==3}--></tr><tr><!--{/if}-->
			<!--{/loop}-->
			</tr>
		</table>
		<div class="page">$multi</div>
		<!--{else}-->
		<div class="c_form">没有可浏览的列表。</div>
		<!--{/if}-->
	<!--{else}-->
		<div class="tabs_header">
		<ul class="tabs" >
			<li class="null"><a href="#">最热影片</a></li>
		</ul>
		</div>
		<table class="album_list" cellspacing="0" cellpadding="0" width="100%">
		<tr>
			<!--{loop $indexhot $key $value}-->
			<td style="padding-bottom:10px;text-align:center;">
				<div class="album_bg"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]"><img src="$value[images]" alt="$value[mname]"  width="100px" height="135px" /></a></div>
				<p style="height:35px;overflow:hidden;line-height:35px;"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]">$value[mname]</a></p>
				<p class="gray"><!--{date('Y-m-d H:i', $value[dateline], 1)}--></p>
			</td>
			<!--{if $key%4==3}--></tr><tr><!--{/if}-->
			<!--{/loop}-->
			</tr>
		</table>
		<div class="tabs_header">
		<ul class="tabs" >
			<li class="null"><a href="#">最新更新</a></li>
		</ul>
		</div>
		<table class="album_list" cellspacing="0" cellpadding="0" width="100%">
		<tr>
			<!--{loop $indexnew $key $value}-->
			<td style="padding-bottom:10px;text-align:center;">
				<div class="album_bg"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]"><img src="$value[images]" alt="$value[mname]" width="100px" height="135px" /></a></div>
				<p style="height:35px;overflow:hidden;line-height:35px;"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]">$value[mname]</a></p>
				<p class="gray"><!--{date('Y-m-d H:i', $value[dateline], 1)}--></p>
			</td>
			<!--{if $key%4==3}--></tr><tr><!--{/if}-->
			<!--{/loop}-->
			</tr>
		</table>
	<!--{/if}-->
<!--{elseif $_GET[view]=='keep'}-->
	<div class="tabs_header">
		<ul class="tabs" >
			<li class="null"><a href="#">我的收藏</a></li>
		</ul>
	</div>
	<!--{if $count}-->
	
	<table class="album_list" cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<!--{loop $list $key $value}-->
		<td style="padding-bottom:10px;text-align:center;">
			<div class="album_bg"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]"><img src="$value[images]" alt="$value[mname]"  width="100px" height="135px" /></a></div>
			<p style="height:35px;overflow:hidden;line-height:35px;"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]">$value[mname]</a></p>	
			<p><a href='space.php?do=movie&view=keep&keepid=$value[movieid]'>删除</a></p>
			<p class="gray"><!--{date('Y-m-d H:i', $value[dateline], 1)}--></p>
		</td>
		<!--{if $key%4==3}--></tr><tr><!--{/if}-->
		<!--{/loop}-->
		</tr>
	</table>
	<div class="page">$multi</div>
	<!--{else}-->
	<div class="c_form">你还没有任何收藏</div>
	<!--{/if}-->	
	
<!--{else}-->
	<!--{if $count}-->
	<table class="album_list" cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<!--{loop $list $key $value}-->
		<td style="padding-bottom:10px;text-align:center;">
			<div class="album_bg"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]"><img src="$value[images]" alt="$value[mname]"  width="100px" height="135px" /></a></div>
			<p style="height:35px;overflow:hidden;line-height:35px;"><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]">$value[mname]</a></p>
			<!--{if $_GET[view]=='me'}-->
			<p>(
				<!--{if $value[checked]==1}-->
				<font color="Green">审核通过</font>
				<!--{elseif $value[checked]==2}-->
				<font color="red">审核未通过</font>
				<!--{elseif $value[checked]==0}-->
				<font color="Blue">尚未审核</font>
				<!--{/if}-->
				)</p>
			<!--{/if}-->
			
			<p class="gray"><!--{date('Y-m-d H:i', $value[dateline], 1)}--></p>
		</td>
		<!--{if $key%4==3}--></tr><tr><!--{/if}-->
		<!--{/loop}-->
		</tr>
	</table>
	<div class="page">$multi</div>
	<!--{else}-->
	<div class="c_form">没有可浏览的列表。</div>
	<!--{/if}-->
<!--{/if}-->

</div>


<div id="sidebar" style="width:150px;">
	<div class="tabs_header" style="border-bottom:0px;">
	<ul class="tabs" >
		<li class="null"><a href="cp.php?ac=movie">发布新片</a></li>
	</ul>
    </div>

	<div class="tabs_header" style="border-bottom:0px;">
	<ul class="tabs" >
		<li class="null"><a href="space.php?do=movie&view=keep">我的收藏</a></li>
	</ul>
    </div>
	<div class="cat">
		<h3>播放器下载</h3>
		<ul class="post_list line_list">
			<li><a href="http://down.getgvod.com/gvod/gvod.exe" target="_blank" style="color:red;">皮皮(PIPI)下载</a></li>
			<li><a href="http://down.getgvod.com/gvod/gvod.exe" target="_blank" style="color:red;">迅播(GVOD)下载</a></li>
			<li><a href="http://dl.qvod.com/QvodSetupPlus3.exe" target="_blank" style="color:red;">快播(QVOD)下载</a></li>
		</ul>
	</div>
	<!--{if $_GET['view'] != 'me'}-->
	<div class="cat">
	<h3>地域分类</h3>
	<ul class="post_list line_list">
		<!--{loop $regionlist $value}-->
		<li$all_actives[$value[regionid]]><a href="space.php?do=movie&view=$_GET[view]&regionid=$value[regionid]&keywords=<!--{eval echo urlencode($_GET['keywords'])}-->">$value[regionname]</a></li>
		<!--{/loop}-->
	</ul>
	</div>
	<!--{else}-->
	<div class="sidebox">
		<h2 class="title">用户信息</h2>
		<ul class="post_list line_list">
			<li>用户名：$_SGLOBAL[username]</li>
			<li>积分：$mexinxi[credit]</li>
			<li>发布影片：$mesend[sendnum]</li>
		</ul>
	</div>
	<!--{/if}-->
	<!--{if $_GET['view'] == 'all'}-->
	<div class="sidebox">
		<h2 class="title">发影达人</h2>
		<ul class="post_list line_list">
		<!--{loop $senduser $value}-->
			<li><span style="float:right;overflow:hidden;">$value[sendnum]</span><a href="space.php?uid=$value[uid]">$value[username]</a></li>
		<!--{/loop}-->
		</ul>
	</div>
	<div class="sidebox">
		<h2 class="title">观影达人</h2>
		<ul class="post_list line_list">
		<!--{loop $kanuser $value}-->
			<li><span style="float:right;overflow:hidden;">$value[kannum]</span><a href="space.php?uid=$value[uid]">$value[username]</a></li>
		<!--{/loop}-->
		</ul>
	</div>
	<div class="sidebox">
		<h2 class="title">评分排行榜</h2>
		<ul class="post_list line_list">
		<!--{loop $fenmovie $value}-->
			<li style="height:25px;line-height:25px;overflow:hidden;"><span style="float:right;overflow:hidden;">$value[fscore]</span><a href="space.php?uid=$value[uid]&do=$do&id=$value[movieid]">$value[mname]</a></li>
		<!--{/loop}-->
		</ul>
	</div>
	<!--{else}-->
	<div class="sidebox">
		<h2 class="title">最热影片</h2>
		<ul class="post_list line_list">
		<!--{loop $hotmovie $value}-->
			<li><span style="float:right;overflow:hidden;">$value[times]</span><a href="space.php?do=$do&id=$value[movieid]">$value[mname]</a></li>
		<!--{/loop}-->
		</ul>
	</div>
	<!--{/if}-->
	

</div>

<!--{template footer}-->